package org.example.kidscode.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.example.kidscode.entity.Student;

@Repository
public interface StudentRepository extends JpaRepository<Student, String> {

    // ✅ 用于判断手机号是否已存在（导入时避免重复）
    boolean existsByContactPhone(String contactPhone);
}
